import { getAction, deleteAction, delete2Action,delete3Action,putAction, postAction,uploadAction} from '@/api/manage.js'

//定时任务
// const quartzJobList = {
//   list: (params) => getAction("/quartz/job/list", params),
//   add: (params) => postAction("/quartz/job", params),
//   edit: (params) => putAction("/quartz/job", params),
//   delete: (params) => delete2Action("/quartz/job", params),
//   stop: (params) => putAction("/quartz/job/pause", params),
//   start: (params) => putAction("/quartz/job/resume", params),
// }

// const imgUpload=(params) => postAction("/sys/upload/Img.json", params)/api/companylist

const indexInfo= (params) => getAction("/api/GetPlatformInfo", params)

const companylist=(params) => getAction("/api/GetCompanyList", params)
const companyDetail=(params) => getAction("/api/GetCompanyDetail", params)
const GetRelation=(params) => getAction("/api/GetRelation", params)
const CompayOrParkNumOnCityMap=(params) => getAction("/api/CompayOrParkNumOnCityMap", params)

const comDetail = {
  GetCompanyShangShiBasic:(params) => getAction("/api/GetCompanyShangShiBasic", params),
  GetCompanyRongziHistory:(params) => getAction("/api/GetCompanyRongziHistory", params),
  GetCompanyZhaopinHistory:(params) => getAction("/api/GetCompanyZhaopinHistory", params),
  GetCompanyInvestHistory:(params) => getAction("/api/GetCompanyInvestHistory", params),
  GetKnowledgeAll:(params) => getAction("/api/GetKnowledgeAll", params),
  GetInvestCityMap:(params) => getAction("/api/GetInvestCityMap", params),
  GetCompanyProducts:(params) => getAction("/api/GetCompanyProducts", params),
  GetCompanyCustom:(params) => getAction("/api/GetCompanyCustom", params),
  GetCompanySupply:(params) => getAction("/api/GetCompanySupply", params),
}
const GetCompayTouRongOnMap=(params) => getAction("/api/GetCompayTouRongOnMap", params)

const MonitorAddOrCancel=(params) => postAction("/api/MonitorAddOrCancel", params)

const parklist=(params) => getAction("/api/GetParkList", params) 
const getparkdetail=(params) => getAction("/api/getparkdetail", params)

const industrychain=(params) => getAction("/api/GetChain", params)
const myIndustrychain=(params) => getAction("/api/GetUserOrPlatformChain", params)
const GetUserOrPlatformBigChain=(params) => getAction("/api/GetUserOrPlatformBigChain", params)
//节点数量
const getChainDataNum=(params) => getAction("/api/GetChainDataNum", params)

const childIndustrychain=(params) => getAction("/api/GetChildrenCompanyNumOnChain", params)

const chain_com_count=(params) => getAction("/api/GetCompanyNumOnChain", params)
const city=(params) => getAction("/api/GetCity", params)
const label=(params) => getAction("/api/GetCompanyLabel", params)

const chain_city_map=(params) => getAction("/api/GetCompayOrParkNumOnMap", params)
const getMap=(params) => getAction("/api/GetMapJsonByCode", params)
const login=(params) => postAction("/api/login", params)
const getcompanybychaincity=(params) => getAction("/api/GetBusinessMap", params)
const getcompanybychaincity1=(params) => getAction("/api/GetBusinessMapByCity", params)

//舆情
const GetOpinionsList=(params) => getAction("/api/GetOpinionsList", params)
//舆情类别
const GetOpinionsTypeList=(params) => getAction("/api/GetOpinionsTypeList", params)
//产业报告
const GetReportList=(params) => getAction("/api/GetReportList", params)


const getCompanyHeat=(params) => getAction("/api/GetCompanyHeat", params)
const role ={
  getMenu:(params)=> getAction("/api/GetMenu",params),
  getList:(params)=> getAction("/api/GetRoleList",params),
  del:(params)=> postAction("/api/RoleDel",params),
  UpdateRoleStatus:(params)=> postAction("/api/UpdateRoleStatus",params),
  RoleEdit:(params)=> postAction("/api/RoleEdit",params),
  getRoleDetail:(params)=> getAction("/api/GetRoleDetail",params),
  SetRoleDefault:(params)=> postAction("/api/SetRoleDefault",params),
  GetRoleList:(params)=> getAction("/api/GetRoleList",params),
}
const user ={
  getList:(params)=> getAction("/api/GetAdminList",params),
  del:(params)=> postAction("/api/AdminDel",params),
  UpdateAdminStatus:(params)=> postAction("/api/UpdateAdminStatus",params),
  AdminEdit:(params)=> postAction("/api/AdminEdit",params),
  getAdminDetail:(params)=> getAction("/api/GetAdminDetail",params),
  getCode:(params)=> getAction("/api/SendCode",params),
  register:(params)=> postAction("/api/Register",params),
  GetMonitorList:(params)=> getAction("/api/GetMonitorList",params),
  GetUseInfo:(params)=> getAction("/api/GetUseInfo",params),
  UpdateUser:(params)=> postAction("/api/UpdateUser",params)
}

const news ={
  getList:(params)=> getAction("/api/GetNewsList",params),
  del:(params)=> postAction("/api/NewsDel",params),
  updateNewsStatus:(params)=> postAction("/api/UpdateNewsStatus",params),
  newsEdit:(params)=> postAction("/api/NewsEdit",params),
  getNewsDetail:(params)=> getAction("/api/GetNewsDetail",params),

  getTypeList:(params)=> getAction("/api/GetNewsTypeList",params),
  typeEdit:(params)=> postAction("/api//NewsTypeEdit",params),
  typeDel:(params)=> postAction("/api//NewsTypeDel",params),
  getTypeDetail:(params)=> getAction("/api/GetNewsTypeDetail",params),
  typeStatus:(params)=> postAction("/api/UpdateNewsTypeStatus",params),
}

const video ={
  getList:(params)=> getAction("/api/GetVideosList",params),
  del:(params)=> postAction("/api/VideosDel",params),
  updateVideoStatus:(params)=> postAction("/api/UpdateVideosStatus",params),
  videoEdit:(params)=> postAction("/api/VideosEdit",params),
  getVideoDetail:(params)=> getAction("/api/GetVideosDetail",params),
}

const localprojects={
  getList:(params)=> getAction("/api/GetLocalprojectsList",params),
  del:(params)=> postAction("/api/LocalprojectsDel",params),
  updateLocalprojectsStatus:(params)=> postAction("/api/UpdateLocalprojectsStatus",params),
  localprojectsEdit:(params)=> postAction("/api/LocalprojectsEdit",params),
  getLocalprojectsDetail:(params)=> getAction("/api/GetLocalprojectsDetail",params),
}

const projects={
  getList:(params)=> getAction("/api/GetBusinessclueList",params),
  BusinessclueEdit:(params)=> postAction("/api/BusinessclueEdit",params),
  GetBusinessclueDetail:(params)=> getAction("/api/GetBusinessclueDetail",params),
  BusinessclueTotalByAreas:(params)=> getAction("/api/BusinessclueTotalByAreas",params),
  getTotal:(params)=> getAction("/api/getbusinesscluetotal",params),
}

const myProject={
  getList:(params)=> getAction("/api/GetProjectsList",params),
  ProjectsEdit:(params)=> postAction("/api/ProjectsEdit",params),
  GetProjectsDetail:(params)=> getAction("/api/GetProjectsDetail",params),
  del:(params)=> postAction("/api/ProjectsDel",params),
}

const policy={
  getList:(params)=> getAction("/api/GetPolicyList",params),
  detail:(params)=> getAction("/api/GetPolicyDetail",params),
  type:(params)=> getAction("/api/GetPolicyTypeList",params),
  GetPolicyDetail:(params)=> getAction("/api/GetPolicyDetail",params),
  PolicyDel:(params)=> getAction("/api/PolicyDel",params),
  PolicySubmit:(params)=> postAction("/api/PolicySubmit",params),
}

const tank={
  getList:(params)=> getAction("/api/GetTankList",params),
  detail:(params)=> getAction("/api/GetTankDetail",params),
}

const park ={
  GetResourceInvestCost:(params)=> getAction("/api/GetResourceInvestCost",params),
  GetResourceMap:(params)=> getAction("/api/GetResourceMap",params),  
  GetParkType:(params)=> getAction("/api/GetParkType",params),  
  GetParkLevel:(params)=> getAction("/api/GetParkLevel",params),
  getParkBasic:(params)=> getAction("/api/getParkBasic",params),
  updateParkName:(params)=> postAction("/api/updateParkName",params),
  GetParkImg:(params)=> getAction("/api/GetParkImg",params),
  GetParkImgDetail:(params)=> getAction("/api/GetParkImgDetail",params),
  updateParkVideoOrImg:(params)=> postAction("/api/updateParkVideoOrImg",params),
  updateParkVideoOrImgStatus:(params)=> postAction("/api/updateParkVideoOrImgStatus",params),
  updateParkResource:(params)=> postAction("/api/updateParkResource",params),
  getParkResource:(params)=> getAction("/api/getParkResource",params),
  Companydel:(params)=> postAction("/api/Companydel",params),
  CompanySubmit:(params)=> postAction("/api/CompanySubmit",params),
  checkCompanyByName:(params)=> getAction("/api/checkCompanyByName",params),
  checkAllCompanyByName:(params)=> postAction("/api/checkAllCompanyByName",params),
  CompanyallSubmit:(params)=> postAction("/api/CompanyallSubmit",params),
  addparkname:(params)=> postAction("/api/addparkname",params),
  delPark:(params)=> getAction("/api/delPark",params),
  updateParkBasic:(params)=> postAction("/api/updateParkBasic",params),
}

const invest ={
  GetInvestEventList:(params)=> getAction("/api/GetInvestEventList",params),  
  GetInvestOrganList:(params)=> getAction("/api/GetInvestOrganList",params),  
}

const getCityCY = {
  GetChainDistByCityId:(params)=> getAction("/api/GetChainDistByCityId",params),  
  getchainchildrendistbycityid:(params)=> getAction("/api/getchainchildrendistbycityid",params),  
}

const rescource={
  getlocalinfo:(params)=> getAction("/api/getlocalinfo",params),  
  GetContrast:(params)=> getAction("/api/GetContrast",params),  
}
const ProjectTotalByUsers=(params)=> getAction("/api/ProjectTotalByUsers",params)
const ProjectTotalByAreas=(params)=> getAction("/api/ProjectTotalByAreas",params)
const ProjectTotalByParks=(params)=> getAction("/api/ProjectTotalByParks",params)
const ProjectTotalByType=(params)=> getAction("/api/ProjectTotalByType",params)
const ApplycomreportAdd=(params)=> postAction("/api/ApplycomreportAdd",params)

const Ads = {
  getList:(params)=> getAction("/api/GetAdsList",params),
  detail:(params)=> getAction("/api/GetAdsDetail",params),
  edit:(params)=> postAction("/api/AdsEdit",params),
  del:(params)=> postAction("/api/AdsDel",params),
  status:(params)=> postAction("/api/UpdateAdsStatus",params),
}


const GetChainDetail=(params)=> getAction("/api/GetChainDetail",params)
const GetWxQrcode=(params)=> getAction("/api/GetWxQrcode",params)

const getLogs=(params)=> getAction("/api/getLogs",params)

const GetChainData=(params)=> getAction("/api/GetChainData",params)
const GetGlobalCity=(params)=> getAction("/api/GetGlobalCity",params)
const getbusinessmapcity=(params)=> getAction("/api/getbusinessmapcity",params)



const upload=(params)=> uploadAction("/api/UploadFife",params)

const RecordDuration=(params)=> getAction("/api/RecordDuration",params)
const PersonRank=(params)=> postAction("/api/PersonRank",params)
const CityDurationRank=(params)=> postAction("/api/CityDurationRank",params)
const AreaDurationRank=(params)=> postAction("/api/AreaDurationRank",params)
const GetChainerInfoByChainId=(params)=> getAction("/api/GetChainerInfoByChainId",params)
const visite ={
  VisiteSubmit:(params)=> postAction("/api/VisiteSubmit",params),
  GetVisiteDetail:(params)=> postAction("/api/GetVisiteDetail",params),
  UpdateVisiteStatus:(params)=> getAction("/api/UpdateVisiteStatus",params),
  GetVisiteList:(params)=> getAction("/api/GetVisiteList",params),
  GetVisitePersonRank:(params)=> getAction("/api/GetVisitePersonRank",params),
  GetDepartmentsInfo:(params)=> getAction("/api/GetDepartmentsInfo",params),
  GetCareersByDepartmentId:(params)=> getAction("/api/GetCareersByDepartmentId",params),
  LeaderSubmit:(params)=> postAction("/api/LeaderSubmit",params),
  GetLeaderDetail:(params)=> getAction("/api/GetLeaderDetail",params),
  UpdateLeaderStatus:(params)=> getAction("/api/UpdateLeaderStatus",params),
  GetLeaderList:(params)=> postAction("/api/GetLeaderList",params),
  GetVisiteAn:(params)=> getAction("/api/GetVisiteAn",params),
  CareerSubmit:(params)=> postAction("/api/CareerSubmit",params),
  GetVisiteSy:(params)=> getAction("/api/GetVisiteSy",params),
  GetLeaderVisiteList:(params)=> getAction("/api/GetLeaderVisiteList",params),
  GetVisiteCompanyList:(params)=> getAction("/api/GetVisiteCompanyList",params),
  del:(params)=> postAction("/api/UpdateVisiteStatus",params),
  ApplyVisiteSubmit:(params)=> postAction("/api/ApplyVisiteSubmit",params),
}

const hy = { 
	MeetingPost:(params)=> postAction("/api/MeetingPost",params),
	GetMeetingList:(params)=> getAction("/api/GetMeetingList",params),
	GetMeetingDetail:(params)=> getAction("/api/GetMeetingDetail",params),
	GetMeetingMembers:(params)=> getAction("/api/GetMeetingMembers",params),
	MeetingSign:(params)=> postAction("/api/MeetingSign",params),
	CheckMeetingSign:(params)=> getAction("/api/CheckMeetingSign",params),
	CancleMeetingSign:(params)=> getAction("/api/CancleMeetingSign",params),
	GetMeetingDelete:(params)=> getAction("/api/GetMeetingDelete",params),
	UploadMeetingImage:(params)=> postAction("/api/UploadMeetingImage",params),
	GetMeetingImageList:(params)=> getAction("/api/GetMeetingImageList",params),
	DeleteMeetingImage:(params)=> getAction("/api/DeleteMeetingImage",params),
	GetMeetingSignDetail:(params)=> getAction("/api/GetMeetingSignDetail",params),
	MeetingCheck:(params)=> postAction("/api/MeetingCheck",params),
	GetMeetingTotal:(params)=> getAction("/api/GetMeetingTotal",params),
	GetModuleType:(params)=> getAction("/api/GetModuleType",params),
}

const GetBusinessCityMap=(params)=> getAction("/api/GetBusinessCityMap",params)
const GetBusinessxChainMap=(params)=> getAction("/api/GetBusinessxChainMap",params)
const GetIndustryInfo=(params)=> getAction("/api/GetIndustry",params)
const GetSpecialChain=(params)=> getAction("/Api/GetSpecialChain",params)
const GetSpecialMap=(params)=> getAction("/api/GetSpecialMap",params)
const GetDepartmentsChain=(params)=> getAction("/api/GetDepartmentsChain",params)
const GetClusterInfo=(params)=> getAction("/api/GetClusterInfo",params)
const GetClusterChainInfo=(params)=> getAction("/api/GetClusterChainInfo",params)
const GetYunChainsByName=(params)=> getAction("/api/GetYunChainsByName",params)
const GetYunChainList=(params)=> getAction("/api/GetYunChainList",params)
const GetAreaChain=(params)=> getAction("/api/GetAreaChain",params)
const GetAreaChainMap=(params)=> getAction("/api/GetAreaChainMap",params)
const SubmitProducts=(params)=> postAction("/api/SubmitProducts",params)
const CompanyDelByYunChainId=(params)=> postAction("/api/CompanyDelByYunChainId",params)
const test = (params)=> getAction("/api/test",params)
const GetChildrenLabelArray = (params)=> getAction("/api/GetChildrenLabelArray",params)
const getCompanyChainList = (params)=> getAction("/api/getCompanyChainList",params)
const book = {
  getList:(params)=> getAction("/api/getBookList",params),
  BookEdit:(params)=> postAction("/api/BookEdit",params),
}
const gz={
	AttendAddOrCancel:(params)=> postAction("/api/AttendAddOrCancel",params),
	CheckAttend:(params)=> getAction("/api/CheckAttend",params),
	getList:(params)=> getAction("/api/GetAttendList",params),
	
}

const GetOwnChainDetailById = (params) => getAction("/api/GetOwnChainDetailById", params) 
const jssdk = (params) => getAction("/api/jssdk", params) 
const GetCompanyTotal = (params) => getAction("/api/GetCompanyTotal", params) 
const GetParkHonor = (params) => getAction("/api/GetParkHonor", params) 
const GetChainDistTwoByParkId = (params) => getAction("/api/GetChainDistTwoByParkId", params) 
const GetChainDistByParkId = (params) => getAction("/api/GetChainDistByParkId", params) 
const compayorparknumonareamap = (params) => getAction("/api/compayorparknumonareamap", params) 

export {
  indexInfo,
  industrychain,
  myIndustrychain,
  GetUserOrPlatformBigChain,
  getChainDataNum,
  childIndustrychain,
  companylist,
  companyDetail,
  MonitorAddOrCancel,
  parklist,
  chain_com_count,
  city,
  label,
  chain_city_map,
  getMap,
  login,
  getcompanybychaincity,
  getcompanybychaincity1,
  getCompanyHeat,
  role,
  user,
  news,
  video,
  upload,
  localprojects,
  projects,
  myProject,
  policy,
  tank,
  park,
  getparkdetail,
  invest,
  getCityCY,
  rescource,
  ProjectTotalByUsers,
  ProjectTotalByAreas,
  ProjectTotalByType,
  ProjectTotalByParks,
  ApplycomreportAdd,
  GetRelation,
  comDetail,
  GetCompayTouRongOnMap,
  GetChildrenLabelArray,
  GetOpinionsList,
  GetOpinionsTypeList,
  GetReportList,
  CompayOrParkNumOnCityMap,
  Ads,
  GetWxQrcode,
  getLogs,
  RecordDuration,
  PersonRank,
  CityDurationRank,
  AreaDurationRank,
  GetChainDetail,
  GetChainData,
  GetChainerInfoByChainId,
  visite,
  GetGlobalCity,
  GetBusinessCityMap,
  GetBusinessxChainMap,
  getbusinessmapcity,
  GetIndustryInfo,
  hy,
  GetSpecialMap,
  GetSpecialChain,
  GetDepartmentsChain,
  GetClusterInfo,
  GetClusterChainInfo,
  GetYunChainsByName,
  SubmitProducts,
  GetYunChainList,
  CompanyDelByYunChainId,
  GetAreaChain,
  GetAreaChainMap,
  test,
  book,
  getCompanyChainList,
  jssdk,
  GetCompanyTotal,
  GetParkHonor,
  GetChainDistTwoByParkId,
  GetChainDistByParkId,
  compayorparknumonareamap,
  gz,
  GetOwnChainDetailById
}
